#!/bin/bash

# fail if any commands fails
set -e
# debug log
#set -x

echo "Removing asking for doas password for user..."
read -rp "Enter user name: " username
echo "permit nopass ${username} as root" > /etc/doas.conf
echo "Removing asking for doas password for user... DONE"
